package cn.stronglink.asset.module.dam.service;


import java.util.List;

import com.baomidou.mybatisplus.plugins.Page;

import cn.stronglink.asset.message.mq.dam.entity.GetAssetListParamsEntity;
import cn.stronglink.asset.model.AssetTypeAttrGroup;
import cn.stronglink.asset.model.AssetTypeValue;
import cn.stronglink.asset.model.DeviceType;
import cn.stronglink.asset.model.ItAsset;
import cn.stronglink.asset.model.RfidState;
import cn.stronglink.asset.module.assetmanage.itasset.vo.ItAssetVo;
import cn.stronglink.asset.module.dam.entity.dev.AssetInfo;
import cn.stronglink.asset.module.dam.entity.dev.DeviceTypeVo;
import cn.stronglink.asset.module.dam.entity.dev.RackInfo;
import cn.stronglink.asset.terminal.bjc.model.AssetModelVO;

public interface IDamService {
	
	void replaceSensorInfo(String rackCode,int SensorPostion,int SensorType,int SensorState,int SensorValue);
	Page<ItAssetVo> qryAssetListByRackCode(GetAssetListParamsEntity paramsEntity);
	ItAssetVo qryAssetInfo(String rfid);
	RackInfo qryRackInfoByDevNo(String devNo);
	DeviceTypeVo qryDamDevice(String deviceCode);
	List<DeviceType> qryCollectionDevice(Long rackId);
	ItAsset qryRackInfoByName(String rackName);
	int insertDevice(DeviceType deviceType);
	int updateDevice(DeviceType deviceType);
	DeviceType qryDamDeviceByRackId(long rackId);
	void deleteDeviceByRackIdAndRackConverCode(String rackConverCode);
	List<AssetInfo> qryAssetListByRackConverCode(String rackConverCode);
	List<RfidState> qryRfidStateByRackConverCode(String rackConverCode);
	void updateAssetRfid(String assetId, String rfid);
	void updateAssetUInfo(String assetId, int startU);
	List<AssetModelVO> qryAssetModelListByRackConverCode(String rackConverCode);
	void updateAssetModelUHeight(String assetModelId, int uHeight);
	List<AssetTypeAttrGroup> qryDetailByTypeId(Long typeId);
	List<AssetTypeValue> qryAssetTypeValue(Long assetId);
}
